<%@codepage="65001"%>
<%session.codepage="65001"%>
<!-- #include virtual=/inc/dbConn.asp -->
<!-- #include virtual=/inc/function.asp -->
<!-- #include virtual=/inc/action.header.inc.asp -->

<%
	'## 파라미터 변수 선언부
	
	accountNm	= Request("accountNm")
	accGroup	= Request("accGroup")
	part		= Request("part")
	accountCd	= Request("accountCd")
	flag		= Request("flag")

	accountNm		= Replace(accountNm,"'","''")
	accGroup		= Replace(accGroup,"'","''")

	If accountCd = "" Then accountCd = 0 End If 
	grpRank = "99"      '## 임시값 저장
	accRank = "999"     '## 임시값 저장

	SQLTitle = "-- ■■■■ 계정 관리 저장 ■■■■"
	SQL = "exec spArticle '" & accountNm & "', '" & accGroup & "', '" & part & "', '" & grpRank & "', '" & accRank & "', " & accountCd & ", '" & flag & "'"

	If xMode="debug" Then 
		Call showDebug(SQLTitle,SQL) 
	End If 

'Response.write SQL
'Response.end
	DbCon.Execute SQL

	Call rsWithXML("Save OK!")
%>